package com.xiaoyung.easyisapisdk.common.workflow.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class ProcModelEntity {

	//public interface DetailViews extends GeneralViews{}
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "模型id")
	private String id;
	
	//private String rev;
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "模型名")
	private String name;
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "模型key")
	private String key;
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "模型类别")
	private String category;
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "创建时间")
	//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "最后修改时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date lastUpdateTime;
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "模型版本")
	private String version;
	
	//private String metaInfo;
	
	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "部署id")
	private String deploymentId;

	/*private String flowParamId;
	private String flowParamFields;
	private String flowParamValues;
	private String flowParamRemark;*/

	//@JsonView(GeneralViews.class)
	//@ApiModelProperty(value = "模型描述")
	private String description;
	
	//流程模型
	//String modelId,String key,String name,String category,String description,String bpmnJson
	//@ApiModelProperty(value = "bpmn模型")
	//private JSONObject bpmnJson;
	
	//@JsonView(DetailViews.class)
	//@ApiModelProperty(value = "bpmn模型xml格式")
	private String bpmnXml;
	
	//保存模型时候 用
	//@ApiModelProperty(value = "流程默认启动参数")
	private FlowParamsEntity flowParams;

	//保存模型时自动部署
	//@ApiModelProperty(value = "自动部署")
	private Boolean autoDeploy;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getDeploymentId() {
		return deploymentId;
	}

	public void setDeploymentId(String deploymentId) {
		this.deploymentId = deploymentId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getBpmnXml() {
		return bpmnXml;
	}

	public void setBpmnXml(String bpmnXml) {
		this.bpmnXml = bpmnXml;
	}

	public FlowParamsEntity getFlowParams() {
		return flowParams;
	}

	public void setFlowParams(FlowParamsEntity flowParams) {
		this.flowParams = flowParams;
	}

	public Boolean getAutoDeploy() {
		return autoDeploy;
	}

	public void setAutoDeploy(Boolean autoDeploy) {
		this.autoDeploy = autoDeploy;
	}
	
	

}
